import request from '@/utils/request'

// 查询网格专业市场列表
export function listGridZysc(query) {
  return request({
    url: '/buss/gridZysc/list',
    method: 'get',
    params: query
  })
}

// 查询网格专业市场详细
export function getGridZysc(marketId) {
  return request({
    url: '/buss/gridZysc/' + marketId,
    method: 'get'
  })
}

// 新增网格专业市场
export function addGridZysc(data) {
  return request({
    url: '/buss/gridZysc',
    method: 'post',
    data: data
  })
}

// 修改网格专业市场
export function updateGridZysc(data) {
  return request({
    url: '/buss/gridZysc',
    method: 'put',
    data: data
  })
}

// 删除网格专业市场
export function delGridZysc(marketId) {
  return request({
    url: '/buss/gridZysc/' + marketId,
    method: 'delete'
  })
}
